<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./iconfont/iconfont.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
        }

        html {
            height: 100%;
        }

        body {
            height: 100%;
            background: linear-gradient(45deg, #fbda61, #ff5acd);
        }

        aside {
            width: 70px;
            height: 100%;
            background: #333;
            padding: 0 10px;
            overflow: hidden;
            transition: all 1s;
        }

        aside:hover {
            width: 240px;
        }

        .head {
            position: relative;
            display: flex;
            padding: 10px 0 0 0;
            overflow: hidden;
        }

        .head-left {
            width: 48px;
            height: 48px;
            border-radius: 20px;
        }

        .head img {
            position: absolute;
            top: 10px;
            left: 1px;
            width: 48px;
            height: 48px;
        }

        .head .head-right {
            position: absolute;
            top: 10px;
            right: 10px;
            color: #fff;
            margin-left: 20px;
        }

        .head .head-right .one {
            margin-bottom: 10px;
        }

        /* 中间 */
        .center ul {
            width: 220px;
            height: 400px;
            margin: 40px 0;
        }

        center ul li {
            height: 45px;
        }

        center ul li a:hover {
            background: coral;
        }

        .center ul li span {
            color: #fff;
            margin: 0 30px 0 20px;
        }

        .center ul li a {
            display: inline-block;
            color: #fff;
            height: 45px;
            line-height: 45px;
            font-size: 14px;
        }

        /* 底部 */
        .footer {
            width: 220px;
            height: 100px;
            margin-top: 170px;
        }

        .footer ul li span {
            color: #fff;
            margin: 0 30px 0 20px;
        }

        .footer ul li {
            height: 35px;
            line-height: 35px;
        }

        .footer ul li a {
            color: #fff;
        }
    </style>
</head>

<body>
    <aside>
        <div class="head">
            <div class="head-left">
                <img src="./images/head.jpg" alt="">
                <!-- </div>
            <div class="head-right"> -->
                <p class="one">Call-me-phoenix</p>
                <p>Web Developer</p>
            </div>

        </div>
        <div class="center">
            <ul>
                <li><span class="iconfont icon-sousuo"></span><a href="#">Search...</a></li>
                <li><span class="iconfont icon-home"></span><a href="#">Dashboard</a></li>
                <li><span class="iconfont icon-juxingkaobei
                    "></span><a href="#">Revenue</a></li>
                <li><span class="iconfont icon-lingdang-xianxing"></span><a href="#">Notifications</a></li>
                <li><span class="iconfont icon-shizhong"></span><a href="#">Analytics</a></li>
                <li><span class="iconfont icon-56aixin"></span><a href="#">Likes</a></li>
                <li><span class="iconfont icon-qianbao"></span><a href="#">Wallets</a></li>
            </ul>
        </div>
        <div class="footer">
            <ul>
                <li><span class="iconfont icon-24gl-extractLeft"></span><a href="#">Logout</a></li>
                <li><span class="iconfont icon-yewan"></span><a href="#">Dark mode</a></li>
            </ul>
        </div>
    </aside>
</body>

</html>